<% if allowed_to?(:react_to_request_access, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
  <%= decidim_form_for(@reject_request_form, url: request_reject_collaborative_draft_path(@collaborative_draft)) do |form| %>
    <%= form.hidden_field :id, value: @collaborative_draft.id %>
    <%= form.hidden_field :state, value: @collaborative_draft.state %>
    <%= form.hidden_field :requester_user_id, value: requester.id %>
    <%= form.submit reject_request_button_label, class: "button button__sm button__transparent-secondary w-full", data: { disable: true } %>
  <% end %>
<% end %>
